package com.xinhe.web.response;

import com.xinhe.web.entity.LocalUser;
import com.xinhe.web.vo.MenuTreeView;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
@Data
@ApiModel(description = "管理系统用户查询视图")
public class LoginView {

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("用户信息")
    private LocalUser userInfo;

    @ApiModelProperty("用户拥有的菜单列表")
    private List<MenuTreeView> menus;

}
